<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<meta name="renderer" content="webkit"/>
		<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"/>
		<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"/>
		<meta http-equiv="Pragma" content="no-cache"/>
		<meta http-equiv="expires" content="0"/>
		<meta http-equiv="Cache" content="no-cache"/>
		<title>自定义模块hello</title>
		<style type="text/css">

		</style>
	</head>
	<body>

	</body>
	<script src="../w/static/layui/layui.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		//自定义模块示例
		layui.config({
				base: '../static/layui/customs/'//静态资源所在路径
			}).extend({
				hello:'hello'//模块名：模块js文件名
			}).use(['hello'],function(){
				//引入模块，并使用
			var hello = layui.hello;
			hello.log();
			hello.html();
			hello.alert();
		})
	</script>
</html>
